package com.junjie.entity;

import java.io.Serializable;
import java.util.Date;
/**
+--------------+--------------+
| id           | int(12)      |
| product_name | varchar(100) |
| description  | varchar(100) |
| add_time     | bigint(20)   |
| fixed_price  | double       |
| dang_price   | double       |
| keywords     | varchar(200) |
| has_deleted  | int(1)       |
| product_pic  | varchar(200)
| score        | int(11)      |
+--------------+--------------+
 */
public class Product implements Serializable {
	private int id;
	/**
	 * 产品名字
	 */
	private String productName;
	/**
	 * 产品描述
	 */
	private String description;
	/**
	 * 添加产品时间
	 */
	private Date addTime;
	/**
	 * 固定价格
	 */
	private double fixedPrice;
	/**
	 * 当当网价格
	 */
	private double dangPrice;
	/**
	 * 关键搜索
	 */
	private String keywords;
	/**
	 * 是否删除
	 */
	private boolean hasDeleted;
	/**
	 * 产品图片地址
	 */
	private String productPic;
	/**
	 * 	顾客评分
	 * @return
	 */
	private int score;
	
	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getProductName() {
		return productName;
	}


	public void setProductName(String productName) {
		this.productName = productName;
	}


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}


	public Date getAddTime() {
		return addTime;
	}


	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}


	public double getFixedPrice() {
		return fixedPrice;
	}


	public void setFixedPrice(double fixedPrice) {
		this.fixedPrice = fixedPrice;
	}


	public double getDangPrice() {
		return dangPrice;
	}


	public void setDangPrice(double dangPrice) {
		this.dangPrice = dangPrice;
	}


	public String getKeywords() {
		return keywords;
	}


	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}


	public boolean isHasDeleted() {
		return hasDeleted;
	}


	public void setHasDeleted(boolean hasDeleted) {
		this.hasDeleted = hasDeleted;
	}


	public String getProductPic() {
		return productPic;
	}


	public void setProductPic(String productPic) {
		this.productPic = productPic;
	}


	public Product() {
		// TODO Auto-generated constructor stub
	}

}
